package com.xvexi;

public class Circle1Test {
    public static void main(String[] args) {
        Circle1 circle1 = new Circle1();
        circle1.r = 5;
        circle1.area();
        circle1.area2(3.14);
        double r = 10;
        double pai = 3.14;
        double s  = circle1.area3(r,pai);
        System.out.println("半径为" + r + "圆的面积为" + s);
    }
}
